@{
ViewData["Title"] = "Test2";
var hobby=ViewBag.Hobby;
}


<div class="text-center">
  <ul>
    @foreach( var h in hobby){
    <li>@h</li>
    }
  </ul>
</div>
